package com.webcash.CNBoard.Model;

import org.hibernate.validator.constraints.NotEmpty;



public class Login {
	@NotEmpty(message="id를 입력하시오")
	private String id;
	@NotEmpty(message="password를 입력하시오")
	private String password;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	@Override
	public String toString() {
		return "Login [id=" + id + ", password=" + password + "]";
	}
	
	
}
